/**   
 * @Title: HomeIndexService.java 
 * @Package com.neusoft.neumooc.service.front 
 * @Description: TODO 
 * @author acer   
 * @date 2016年9月17日 下午1:31:29 
 */

package com.neusoft.neumooc.service.front;
import java.util.List;

import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Service;
import org.springframework.transaction.annotation.Transactional;

import com.neusoft.core.common.exception.DAOException;
import com.neusoft.core.common.exception.ServiceException;
import com.neusoft.neumooc.dao.front.HomeIndexDAO;
import com.neusoft.neumooc.vo.ContentVO;

/**
 * @ClassName: HomeIndexService
 * @Description: TODO
 * @author acer
 * @date 2016年9月17日
 */
@Service
@Transactional
public class HomeIndexServiceImpl implements HomeIndexService {
	@Autowired
	HomeIndexDAO homeIndexDao;

	/**
	 * @Title: queryHomeList
	 * @Description: TODO
	 * @return
	 * @throws DAOException
	 */

	@Override
	public List<ContentVO> queryHomeList() throws ServiceException{
		return homeIndexDao.queryHomeList();
	}

	/**
	 * @Title: queryLink
	 * @Description: TODO
	 * @return
	 * @throws DAOException
	 */
	@Override
	public String queryLink() throws ServiceException {
		return homeIndexDao.queryLink();
	}
}
